package speed.Inheit_Folder;

public class Bird extends Animals{
public Bird(String name, int age) {
		super(name, age);
		System.out.println("This is the parameterized constructor of the bird.");
}

//	private int age;
//	private String name;
//	
//	public Bird(int age, String name) {
//		this.age = age;
//		this.name = name;
//	}

	private void shout() {
		System.out.println("Bird is shouting");
	}

}
